﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FindPolygon.aspx.cs" Inherits="IGIS.Extensions.FindPolygon" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html>

<head>
    <title>Find Address Task</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  <!--  <link rel="stylesheet" href="../../../styles/gt.css" type="text/css" />-->
      <link rel="stylesheet" href="../../styles/viewer.css" type="text/css" />
        <link href="CSS/core.css" rel="stylesheet" type="text/css" />

      
  
    <link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/bootstrap-responsive.min.css">

    	<link rel="stylesheet" href="css/jquery.ui.all.css">
    	<script src="JS/angular.min.js"></script>
	<script src="js/jquery-1.9.1.js"></script>
	<script src="js/jquery.ui.core.js"></script>
	<script src="js/jquery.ui.widget.js"></script>
	<script src="js/jquery.ui.datepicker.js"></script>
    <script src="js/jquery.ui.autocomplete.js"></script>
          <script src="js/jquery.ui.button.js"></script>
    <script src="js/jquery.ui.position.js"></script>
	<script src="JS/jquery.ui.menu.js"></script>
	<script src="js/jquery.ui.autocomplete.js"></script>
	<script src="js/jquery.ui.tooltip.js"></script>
    <script src="JS/app.js"></script>
    <script src="JS/polygonCtr.js"></script>
    
    <script language="javascript" type="text/javascript">
       
     
       /* var tmID;*/


        $(document).ready(function () {
            /*  debugger;*/
            // Handler for .ready() called.


           
       
           


        });

    /*    app.directive('fileUpload', function () {
            return {
                scope: true,        //create a new scope
                link: function (scope, el, attrs) {
                    el.bind('change', function (event) {
                        var files = event.target.files;
                        //iterate files since 'multiple' may be specified on the element
                        for (var i = 0; i < files.length; i++) {
                            //emit event upward
                            scope.$emit("fileSelected", { file: files[i] });
                        }
                    });
                }
            };
        });*/

   
 
   




 
   
 
 
 angular.module('myModule', ['ui.bootstrap']);
 AlertDemoCtrl
 var ButtonsCtrl = function ($scope) {

     $scope.singleModel = 1;

     $scope.radioModel = 'Middle';
     $scope.singleModel = "הגדרת פרויקט";
     $scope.checkModel = {
         left: false,
         middle: true,
         right: false
     };
 };

 function AlertDemoCtrl($scope) {
     $scope.alerts = [
       { type: 'error', msg: 'Oh snap! Change a few things up and try submitting again.' },
       { type: 'success', msg: 'Well done! You successfully read this important alert message.' }
     ];

     $scope.addAlert = function () {
         $scope.alerts.push({ msg: "Another alert!" });
     };

     $scope.closeAlert = function (index) {
         $scope.alerts.splice(index, 1);
     };

 }
        
 $(function () {
     $("#StartDate").datepicker();
     $("#StartDate").datepicker("option", "dateFormat", "dd/mm/yy");
   
   
 });
    </script>
<style>

   
    .clsHeader
{
	font-family:Arial;
	font-size:12px;
	color:#ffffff;
	font-weight:bold;
	background:#B50027;
}

.clsHeaderLight
{
	font-family:Arial;
	font-size:12px;
	color:#B50027;
	font-weight:bold;
	background:#ffffff;
}

.clsFieldHeader
{
	font-family:Arial;
	font-size:11px;
	color:#000000;
/*	font-weight:bold;*/
	background:#ffffff;
}
.MeasureData
{
  /*  background-color: #DCDCDC;*/
    color: black;
    font-family: Arial;
    font-size:11px;
}
.clsTextRegular
{
	font-family:Arial;
	font-size:12px;
	color:#000000;
	font-weight:normal;
	background:#ffffff;
}

    .combo
    {
        width:130px;
    }
    .textbox
    {
        width:130px;
    }
</style>
</head>
    
<body  dir="rtl" >

    <form id="locationForm"  runat="server">
    
     <input id="px1" name="px1" type="hidden" runat="server"  />
      <input id="py1" name="py1" type="hidden" runat="server"  />
    

        
<!--<div ng-controller="ButtonsCtrl">
    <h4>תיאור הפוליגון</h4>
    <span class="label label-warning"></span>
    <div class="alert">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
   יש לסמן פוליגון על המפה.
</div> -->
     <h4>תיאור הפוליגון</h4>
   <pre>הגדרת הפרויקט</pre>
  
    
   
</div>
       <!-- <div ng-controller="AlertDemoCtrl">
  <alert ng-repeat="alert in alerts" type="alert.type" close="closeAlert($index)">{{alert.msg}}</alert>
  <button class='btn' ng-click="addAlert()">Add Alert</button>
</div>-->
<div ng-app='IGIS'  ng-controller="polygonCtr">


</div>
    <table border="0" cellpadding="5" dir="rtl" width="200px">
      
       <tr>
        <td class="clsFieldHeader">תאריך פתיחה :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Ycoord   dir=ltr />-->
           
             <input runat="server" class="textbox" id="StartDate" />
        </td>
      </tr>
        <tr>
        <td class="clsFieldHeader">מס' פרויקט :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Ycoord   dir=ltr />-->
           
             <input runat="server" class="textbox" id="ProjectNum"/>
        </td>
      </tr>
      <tr>
        <td class="clsFieldHeader">שם פרויקט :</td>
        <td align="right" class="MeasureData" >
            <!--<input id=Ycoord   dir=ltr />-->
           
             <input runat="server" class="textbox" id="ProjectName" />
        </td>
      </tr>

          <tr>
              
        <td class="clsFieldHeader">סוג אתר  :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Ycoord   dir=ltr />-->
 

            <asp:DropDownList ID="drpSiteTypes" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td class="clsFieldHeader">תיאור הפרויקט:</td>
        <td align="right" class="MeasureData">
            <!--<input id=Xcoord   dir=ltr /> -->
           <input type="text" id="ProjectDesc"  runat="server" class="textbox" >
           
        </td>
      </tr>
      <tr>
        <td class="clsFieldHeader"> קדימות :</td>
        <td align="right" class="MeasureData" >
        
             <asp:DropDownList ID="DrpPriority" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>
         <tr>
        <td class="clsFieldHeader"> סטטוס ביצוע :</td>
        <td align="right" class="MeasureData" >
      
              <asp:DropDownList ID="DrpPrefStatus" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>
         <tr>
        <td class="clsFieldHeader"> איש מתאם חץ :</td>
        <td align="right" class="MeasureData" >
           
             <asp:DropDownList ID="DrpCoordinator" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>

         <tr>
        <td class="clsFieldHeader">הערות :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Xcoord   dir=ltr /> -->
           <input type="text" id="Comment"  runat="server"  class="textbox">
           
        </td>
      </tr>


         <tr>
        <td class="clsFieldHeader">  גוף מזמין :</td>
        <td align="right" class="MeasureData" >
            
             <asp:DropDownList ID="DrpOrderer" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>

         <tr>
        <td class="clsFieldHeader">איש קשר :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Xcoord   dir=ltr /> -->
           <input type="text" id="ContactOrderer" runat="server" class="textbox"  >
           
        </td>
      </tr>

        <tr>
        <td class="clsFieldHeader">  גוף שלם :</td>
        <td align="right" class="MeasureData" >
           
             <asp:DropDownList ID="DrpSponsor" runat="server" CssClass="combo"></asp:DropDownList>
        </td>
      </tr>
        <tr>
        <td class="clsFieldHeader">איש קשר מתוך גוף משלם :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Xcoord   dir=ltr /> -->
           <input type="text" id="ContactSponsor" runat="server" class="textbox"  >
           
        </td>
      </tr>
        <tr>
        <td class="clsFieldHeader"> הצמד מסמכים :</td>
        <td align="right" class="MeasureData">
            <!--<input id=Xcoord   dir=ltr /> -->
       <!-- <input type="file" file-upload multiple class="textbox"/>-->
       
        </td>
      </tr>
   <!--    <tr >
        <td colspan=2 class="clsFieldHeader">שמור מיקום : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type=checkbox id="SaveNaaz" value=0 /></td>
      </tr>-->
      <tr>
        <td colspan="2">
        
        <table>
        <tr>
          <td><!--<input  id="Button1" type="button" value="בחר מהמפה" onclick="DigitizePoint()" />-->
              <asp:Button ID="btnsave" runat="server" Text="שמור" CssClass="btn btn-primary" OnClick="btnsave_Click" />
         

          </td> 
        <td>
         
                <asp:Button ID="btnClear" runat="server" Text="נקה" CssClass="btn btn-primary" />
       
    </button>


            <!--  <input  type="button" value="נקה"  onclick="Clearall()" />--></td>
        
        <td> </td>
        
  
  
           
   
       
       
        </tr>
      
        </table>
   
            
        <!--<input class="clsShortButton" type="button" value="התמקד"  onclick="Zoom()" />-->
            &nbsp;&nbsp;
         
            
        </td>
      </tr>

  
    </table> 
 
   
     <div id="targetsnewTitle" runat="server" class="clsFieldHeader"></div>
    <div id="targetsnew" runat="server" class="clsFieldHeader"></div>
    <div id="targetsoldTitle" runat="server" class="clsFieldHeader"></div>
    <div id="targetsold" runat="server" class="clsFieldHeader"></div>
     <div></div>
  
    <div id="diverr" runat="server" class="clsFieldHeader"></div>
</form>



</body>
</html>
